package com.j283_5.wisdom_park.vo.car_management;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Timestamp;



@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CarInformationVo {
    /**
     * 车辆信息id
     */
    private Integer cinfId;

    /**
     * 车主姓名
     */
    private String cinfName;

    /**
     * 车主电话
     */
    private String cinfPhone;

    /**
     * 车牌号
     */
    private String cinfMark;

    /**
     * 车辆型号
     */
    private String cinfType;

    /**
     * 0:临时车 1：包月车
     */
    private String cinfClassName;

    /**
     * 开始时间
     */
    private Timestamp cinfStart;

    /**
     * 结束时间
     */
    private Timestamp cinfEnd;

    /**
     * 绑定车辆进出详细信息
     */
    private Integer crecMark;

    public CarInformationVo(Integer cinfId, String cinfName, String cinfPhone, String cinfMark, String cinfType, String cinfClassName) {
        this.cinfId = cinfId;
        this.cinfName = cinfName;
        this.cinfPhone = cinfPhone;
        this.cinfMark = cinfMark;
        this.cinfType = cinfType;
        this.cinfClassName = cinfClassName;
    }

    public CarInformationVo(Integer cinfId, String cinfName, String cinfPhone, String cinfMark, String cinfType, String cinfClassName, Timestamp cinfStart, Timestamp cinfEnd) {
        this.cinfId = cinfId;
        this.cinfName = cinfName;
        this.cinfPhone = cinfPhone;
        this.cinfMark = cinfMark;
        this.cinfType = cinfType;
        this.cinfClassName = cinfClassName;
        this.cinfStart = cinfStart;
        this.cinfEnd = cinfEnd;
    }
}
